3.2147 \(\int \frac {(a+b \sqrt {x})^5}{x^2} \, dx\)

Optimal. Leaf size=62 \[ -\frac {a^5}{x}-\frac {10 a^4 b}{\sqrt {x}}+10 a^3 b^2 \log (x)+20 a^2 b^3 \sqrt {x}+5 a b^4 x+\frac {2}{3} b^5 x^{3/2} \]

[Out]

-a^5/x+5*a*b^4*x+2/3*b^5*x^(3/2)+10*a^3*b^2*ln(x)-10*a^4*b/x^(1/2)+20*a^2*b^3*x^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {266, 43} \[ 20 a^2 b^3 \sqrt {x}+10 a^3 b^2 \log (x)-\frac {10 a^4 b}{\sqrt {x}}-\frac {a^5}{x}+5 a b^4 x+\frac {2}{3} b^5 x^{3/2} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Sqrt[x])^5/x^2,x]

[Out]

-(a^5/x) - (10*a^4*b)/Sqrt[x] + 20*a^2*b^3*Sqrt[x] + 5*a*b^4*x + (2*b^5*x^(3/2))/3 + 10*a^3*b^2*Log[x]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {\left (a+b \sqrt {x}\right )^5}{x^2} \, dx &=2 \operatorname {Subst}\left (\int \frac {(a+b x)^5}{x^3} \, dx,x,\sqrt {x}\right )\\ &=2 \operatorname {Subst}\left (\int \left (10 a^2 b^3+\frac {a^5}{x^3}+\frac {5 a^4 b}{x^2}+\frac {10 a^3 b^2}{x}+5 a b^4 x+b^5 x^2\right ) \, dx,x,\sqrt {x}\right )\\ &=-\frac {a^5}{x}-\frac {10 a^4 b}{\sqrt {x}}+20 a^2 b^3 \sqrt {x}+5 a b^4 x+\frac {2}{3} b^5 x^{3/2}+10 a^3 b^2 \log (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 62, normalized size = 1.00 \[ -\frac {a^5}{x}-\frac {10 a^4 b}{\sqrt {x}}+10 a^3 b^2 \log (x)+20 a^2 b^3 \sqrt {x}+5 a b^4 x+\frac {2}{3} b^5 x^{3/2} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Sqrt[x])^5/x^2,x]

[Out]

-(a^5/x) - (10*a^4*b)/Sqrt[x] + 20*a^2*b^3*Sqrt[x] + 5*a*b^4*x + (2*b^5*x^(3/2))/3 + 10*a^3*b^2*Log[x]

________________________________________________________________________________________

fricas [A]  time = 0.83, size = 61, normalized size = 0.98 \[ \frac {15 \, a b^{4} x^{2} + 60 \, a^{3} b^{2} x \log \left (\sqrt {x}\right ) - 3 \, a^{5} + 2 \, {\left (b^{5} x^{2} + 30 \, a^{2} b^{3} x - 15 \, a^{4} b\right )} \sqrt {x}}{3 \, x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^5/x^2,x, algorithm="fricas")

[Out]

1/3*(15*a*b^4*x^2 + 60*a^3*b^2*x*log(sqrt(x)) - 3*a^5 + 2*(b^5*x^2 + 30*a^2*b^3*x - 15*a^4*b)*sqrt(x))/x

________________________________________________________________________________________

giac [A]  time = 0.16, size = 56, normalized size = 0.90 \[ \frac {2}{3} \, b^{5} x^{\frac {3}{2}} + 5 \, a b^{4} x + 10 \, a^{3} b^{2} \log \left ({\left | x \right |}\right ) + 20 \, a^{2} b^{3} \sqrt {x} - \frac {10 \, a^{4} b \sqrt {x} + a^{5}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^5/x^2,x, algorithm="giac")

[Out]

2/3*b^5*x^(3/2) + 5*a*b^4*x + 10*a^3*b^2*log(abs(x)) + 20*a^2*b^3*sqrt(x) - (10*a^4*b*sqrt(x) + a^5)/x

________________________________________________________________________________________

maple [A]  time = 0.00, size = 55, normalized size = 0.89 \[ \frac {2 b^{5} x^{\frac {3}{2}}}{3}+10 a^{3} b^{2} \ln \relax (x )+5 a \,b^{4} x +20 a^{2} b^{3} \sqrt {x}-\frac {10 a^{4} b}{\sqrt {x}}-\frac {a^{5}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*x^(1/2))^5/x^2,x)

[Out]

-a^5/x+5*a*b^4*x+2/3*b^5*x^(3/2)+10*a^3*b^2*ln(x)-10*a^4*b/x^(1/2)+20*a^2*b^3*x^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.91, size = 55, normalized size = 0.89 \[ \frac {2}{3} \, b^{5} x^{\frac {3}{2}} + 5 \, a b^{4} x + 10 \, a^{3} b^{2} \log \relax (x) + 20 \, a^{2} b^{3} \sqrt {x} - \frac {10 \, a^{4} b \sqrt {x} + a^{5}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^5/x^2,x, algorithm="maxima")

[Out]

2/3*b^5*x^(3/2) + 5*a*b^4*x + 10*a^3*b^2*log(x) + 20*a^2*b^3*sqrt(x) - (10*a^4*b*sqrt(x) + a^5)/x

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 57, normalized size = 0.92 \[ \frac {2\,b^5\,x^{3/2}}{3}-\frac {a^5+10\,a^4\,b\,\sqrt {x}}{x}+20\,a^3\,b^2\,\ln \left (\sqrt {x}\right )+20\,a^2\,b^3\,\sqrt {x}+5\,a\,b^4\,x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x^(1/2))^5/x^2,x)

[Out]

(2*b^5*x^(3/2))/3 - (a^5 + 10*a^4*b*x^(1/2))/x + 20*a^3*b^2*log(x^(1/2)) + 20*a^2*b^3*x^(1/2) + 5*a*b^4*x

________________________________________________________________________________________

sympy [A]  time = 0.65, size = 61, normalized size = 0.98 \[ - \frac {a^{5}}{x} - \frac {10 a^{4} b}{\sqrt {x}} + 10 a^{3} b^{2} \log {\relax (x )} + 20 a^{2} b^{3} \sqrt {x} + 5 a b^{4} x + \frac {2 b^{5} x^{\frac {3}{2}}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x**(1/2))**5/x**2,x)

[Out]

-a**5/x - 10*a**4*b/sqrt(x) + 10*a**3*b**2*log(x) + 20*a**2*b**3*sqrt(x) + 5*a*b**4*x + 2*b**5*x**(3/2)/3

________________________________________________________________________________________